package com.spirit.mypopup.menu.adapter;

import androidx.fragment.app.Fragment;

/**
 * author : fang.zhang
 * e-mail : initzf@126.com
 * date   : 2020/5/17
 * desc   :
 */
public class BaseMenuFragment extends Fragment {
    public OnSelectItemListener onSelectItemListener;


    public void setOnSelectItemListener(OnSelectItemListener onSelectItemListener) {
        this.onSelectItemListener = onSelectItemListener;
    }

    @Override
    public void onDetach() {
        super.onDetach();
        onSelectItemListener = null;
    }
}
